<?php
namespace Application\config;
/**
 * Description of AppKernel
 *
 * @author Bryan Salazar
 */
class AppKernel extends \RAD\Abstraction\Kernel
{
    public $defaultModule = 'frontend';
    
    public function onShutdown()
    {
        
    }
    
    public function onStartup()
    {
        $config = require_once \RAD\RAD::app()->getBasePath() . '/config/config.php';
        $this->setConfig($config);
    }
    
    public function registeredModule() 
    {
        return array(
            'frontend'=>'FrontendModule',
            'backend'=>'BackendModule'
        );
    }
}

